package yf.mall.dao;

import org.apache.ibatis.annotations.Param;
import yf.mall.entity.ShopLogTemEntity;
import yf.mall.vo.ShopLogTemVo;
import org.apache.ibatis.annotations.Mapper;
import com.yf.dao.BaseDao;
import java.util.List;
/**
 * 店铺物流模版Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Aug 20 10:19:54 CST 2020
 */
@Mapper
public interface ShopLogTemDao extends BaseDao<ShopLogTemEntity> {

    List<ShopLogTemVo> findVo(ShopLogTemVo vo);

    ShopLogTemVo getVo(Long id);

    Integer getStatus(Long shopId);

    void saveShopStatus(@Param("shopId")Long shopId,@Param("status") Integer status);

    void updateByShopId(@Param("shopId")Long shopId,@Param("status") Integer status);

    List<ShopLogTemEntity> findByShopId(Long ShopId);

    Integer findShopLog(Long shopId);
}
